# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-gpsp
pkgver=0_git20200405
pkgrel=0
_commit="514cb1e66b24a5935eb17a5f918a13ec631a1959"
pkgdesc="gpSP for libretro"
url="https://github.com/libretro/gpsp"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/gpsp/archive/$_commit.tar.gz"
builddir="$srcdir/gpsp-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 gpsp_libretro.so "$pkgdir"/usr/lib/libretro/gpsp_libretro.so
}

sha512sums="80c625c1431ec50837ee1a6142c86f948c5dda61b32bb215f1ffe72c697e0dce94abfa280cece6825cacc5c814eafb66fe30aa0966ae61e956e67b2602345831  libretro-gpsp-514cb1e66b24a5935eb17a5f918a13ec631a1959.tar.gz"
